/*********************
* Author:Dzlua
* QQ:505544956
* time:2016/08/19
*/
#ifndef __EDUI_HORIZONTALLAYOUT_H__
#define __EDUI_HORIZONTALLAYOUT_H__

#include "Container.h"

EDUI_NAMESPACE_BEGIN

class EDUI_API HorizontalLayout : public Container
{
protected:
    HorizontalLayout();
    virtual ~HorizontalLayout();
public:
	static HorizontalLayout* GetInterface();
	virtual void Release();
    static HorizontalLayout* ToHorizontalLayout(Control* ctrl);
public:
    virtual void AutoLayout();
    virtual void SetAttribute(const char* name, const char* value);
public:
    bool IsCenter() const;
    void SetCenter(bool bCenter);
protected:
    bool m_bCenter;
};

EDUI_NAMESPACE_END

#endif
